Skip to main content

Get List Items

Route

/v2/lists/{id}/items

Description

Retrieve items from a specific list with pagination support. This endpoint allows you to fetch all items in a list or search for specific items.

Method

GET

Inputs

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the list
page_sizeintegerNoNumber of items to return (max 1000, default 100)
page_idstringNoPage ID for pagination
searchstringNoSearch term to filter items
sort_bystringNoField to sort by (value, created_at, updated_at)
sort_orderstringNoSort order (asc, desc)

Query Parameters

GET /v2/lists/list-123/items?page_size=50&search=example&sort_by=value&sort_order=asc

Output

FieldTypeDescription
list_idstringList identifier
resourcesarray[ListItem]Array of list item objects
sizeintegerNumber of items returned
next_page_idstringToken for next page
total_countintegerTotal number of items in list
errorsarray[Error]Any errors encountered

List Item Object

FieldTypeDescription
idstringUnique item identifier
valuestringItem value
descriptionstringItem description
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)
metadataobjectAdditional item metadata

Rate Limit

  • 60 requests per minute per API key
  • 5 concurrent requests per endpoint

Example Response

{
"list_id": "list-123",
"resources": [
{
"id": "item-456",
"value": "example@company.com",
"description": "Executive email address",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"metadata": {
"category": "executive",
"priority": "high"
}
},
{
"id": "item-789",
"value": "192.168.1.100",
"description": "Server IP address",
"created_at": "2024-01-14T15:45:00Z",
"updated_at": "2024-01-14T15:45:00Z",
"metadata": {
"category": "infrastructure",
"priority": "medium"
}
}
],
"size": 2,
"next_page_id": "next_token_jkl012",
"total_count": 150,
"errors": []
}

Error Response

{
"list_id": "list-123",
"resources": [],
"size": 0,
"errors": [
{
"code": 404,
"message": "List not found"
}
]
}